package com.hjd.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hjd.shop.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单支付表
 * </p>
 *
 * @author 胡江迪
 * @since 2020-10-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SOrderPay extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 支付编号
     */
    @TableId(value = "pay_id", type = IdType.ASSIGN_ID)
    private String payId;

    /**
     * 订单编号
     */
    @TableId(value = "order_id", type = IdType.ASSIGN_ID)
    private String orderId;

    /**
     * 支付金额
     */
    private BigDecimal payAmount;

    /**
     * 是否已支付 0否 1是
     */
    private String isPaid;
}
